package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the IN_ERX_CHARGE_DETAIL database table.
 * 
 */
@Entity
@Table(name="IN_ERX_CHARGE_DETAIL")
@NamedQuery(name="InErxChargeDetail.findAll", query="SELECT i FROM InErxChargeDetail i")
public class InErxChargeDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="IN_ERX_CHAR_DETAIL_ID")
	private long inErxCharDetailId;

	@Column(name="MEDICAL_ID")
	private BigDecimal medicalId;

	@Column(name="MEDICAL_NAME")
	private String medicalName;

	@Column(name="MEDICAL_NUM")
	private BigDecimal medicalNum;

	@Column(name="MEDICAL_PRICE")
	private BigDecimal medicalPrice;
/*
	@Column(name="MEDICAL_STATUS")
	private String medicalStatus;
*/
	@Column(name="MEDICAL_SUBTOTAL")
	private BigDecimal medicalSubtotal;

	/*@Column(name="MEDICAL_TYPE_ID")
	private BigDecimal medicalTypeId;*/

	private String unit;

	@Column(name="USAGE_DOSAGE")
	private String usageDosage;

	/*//bi-directional many-to-one association to InErxCharge
	@ManyToOne
	@JoinColumn(name="IN_MEDICAL_ERX_ID")
	private InErxCharge inErxCharge;*/

	public InErxChargeDetail() {
	}

	public long getInErxCharDetailId() {
		return this.inErxCharDetailId;
	}

	public void setInErxCharDetailId(long inErxCharDetailId) {
		this.inErxCharDetailId = inErxCharDetailId;
	}

	public BigDecimal getMedicalId() {
		return this.medicalId;
	}

	public void setMedicalId(BigDecimal medicalId) {
		this.medicalId = medicalId;
	}

	public String getMedicalName() {
		return this.medicalName;
	}

	public void setMedicalName(String medicalName) {
		this.medicalName = medicalName;
	}

	public BigDecimal getMedicalNum() {
		return this.medicalNum;
	}

	public void setMedicalNum(BigDecimal medicalNum) {
		this.medicalNum = medicalNum;
	}

	public BigDecimal getMedicalPrice() {
		return this.medicalPrice;
	}

	public void setMedicalPrice(BigDecimal medicalPrice) {
		this.medicalPrice = medicalPrice;
	}
/*
	public String getMedicalStatus() {
		return this.medicalStatus;
	}

	public void setMedicalStatus(String medicalStatus) {
		this.medicalStatus = medicalStatus;
	}
*/
	public BigDecimal getMedicalSubtotal() {
		return this.medicalSubtotal;
	}

	public void setMedicalSubtotal(BigDecimal medicalSubtotal) {
		this.medicalSubtotal = medicalSubtotal;
	}
/*
	public BigDecimal getMedicalTypeId() {
		return this.medicalTypeId;
	}

	public void setMedicalTypeId(BigDecimal medicalTypeId) {
		this.medicalTypeId = medicalTypeId;
	}
*/
	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getUsageDosage() {
		return this.usageDosage;
	}

	public void setUsageDosage(String usageDosage) {
		this.usageDosage = usageDosage;
	}

	/*public InErxCharge getInErxCharge() {
		return this.inErxCharge;
	}

	public void setInErxCharge(InErxCharge inErxCharge) {
		this.inErxCharge = inErxCharge;
	}*/

}